package one_class_design.three_work;

/**
 * @author 北巷_东坡
 * @date 2022/9/16 20:11
 * @computer 10741
 */
public class WashMachine implements ComputerWeight{
    int wweight;
    double w_num;
    WashMachine(int wweight,double w_num){
        this.wweight=wweight;
        this.w_num=w_num;
    }
    @Override
    public double computeWeight() {
        return wweight * w_num;
    }
}
